package SecondTry;

/**
 * Created with IntelliJ IDEA.
 * User: Gauss
 * Date: 05.12.13
 * Time: 15:40
 * To change this template use File | Settings | File Templates.
 */
public abstract class IMovement {
    protected Direction direction;
    protected Coordinates coordinates;
    protected IField field;
    protected IDigger digger;
    protected Stats stats;

    public abstract void start();
    public Stats getStatistic() {
        return stats;
    }

    public class Stats {
        private int stepsMade = 0;

        public void increaseSteps() {
            stepsMade++;
        }

        public String getStatistic() {
            return "Steps made by digger until he find treasure = " + stepsMade ;
        }
    }
}
